
package com.xgx.distqcp.Domain.Model.Oracle.base;

import io.jboot.db.model.JbootModel;
import com.jfinal.plugin.activerecord.IBean;

/**
 *  Auto generated, do not modify this file.
 */
@SuppressWarnings("serial")
public class BaseSessionHistory<M extends BaseSessionHistory<M>> extends JbootModel<M> implements IBean {

	public static final String ACTION_ADD = "sessionHistory:add";
	public static final String ACTION_DELETE = "sessionHistory:delete";
	public static final String ACTION_UPDATE = "sessionHistory:update";

	@Override
	protected String addAction() {
		return ACTION_ADD;
	}

	@Override
	protected String deleteAction() {
		return ACTION_DELETE;
	}

	@Override
	protected String updateAction() {
		return ACTION_UPDATE;
	}

	public void setUsername(java.lang.String username) {
		set("USERNAME", username);
	}

	public java.lang.String getUsername() {
		return getStr("USERNAME");
	}

	public void setOsuser(java.lang.String osuser) {
		set("OSUSER", osuser);
	}

	public java.lang.String getOsuser() {
		return getStr("OSUSER");
	}

	public void setLoginTime(java.util.Date loginTime) {
		set("LOGIN_TIME", loginTime);
	}

	public java.util.Date getLoginTime() {
		return get("LOGIN_TIME");
	}

	public void setIp(java.lang.String ip) {
		set("IP", ip);
	}

	public java.lang.String getIp() {
		return getStr("IP");
	}

	public void setTerminal(java.lang.String terminal) {
		set("TERMINAL", terminal);
	}

	public java.lang.String getTerminal() {
		return getStr("TERMINAL");
	}

	public void setProgram(java.lang.String program) {
		set("PROGRAM", program);
	}

	public java.lang.String getProgram() {
		return getStr("PROGRAM");
	}

}
